﻿using MRSite.AutoMapper.Attributes;
using MRSite.Entity;
using ProtoBuf;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MRSite.EntityDto
{
    [AutoMapBoth(typeof(ShopSetting))]
    [ProtoContract]
    public class ShopSettingDto
    {
        [ProtoMember(1)]
        public int id { get; set; }

        [ProtoMember(2)]
        public String title { get; set; }

        [ProtoMember(3)]
        public int category_id { get; set; }

        [ProtoMember(4)]
        public int type_id { get; set; }


        [ProtoMember(5)]
        public int memberid { get; set; }

        [ProtoMember(6)]
        public String memberusername { get; set; }

        [ProtoMember(7)]
        public Decimal balance { get; set; }

        [ProtoMember(8)]
        public Decimal totalfee { get; set; }


        [ProtoMember(9)]
        public String realname { get; set; }

        [ProtoMember(10)]
        public String mob { get; set; }

        [ProtoMember(11)]
        public String weixin { get; set; }


        [ProtoMember(12)]
        public String province { get; set; }

        [ProtoMember(13)]
        public String city { get; set; }

        [ProtoMember(14)]
        public String area { get; set; }

        [ProtoMember(15)]
        public DateTime addtime { get; set; }

        [ProtoMember(16)]
        public DateTime? checktime { get; set; }

        [ProtoMember(17)]
        public int status { get; set; }

        [ProtoMember(18)]
        public int levels { get; set; }

        [ProtoMember(19)]
        public int sort { get; set; }

        [ProtoMember(20)]
        public String address { get; set; }

        [ProtoMember(21)]
        public String logo { get; set; }

        [ProtoMember(22)]
        public String bg { get; set; }

        [ProtoMember(23)]
        public String advbg { get; set; }


        [ProtoMember(24)]
        public String skmpay { get; set; }

        [ProtoMember(25)]
        public String weixin_skm { get; set; }

        [ProtoMember(26)]
        public String alipay_skm { get; set; }

        [ProtoMember(27)]
        public String bankname { get; set; }

        [ProtoMember(28)]
        public String bankaccount { get; set; }

        [ProtoMember(29)]
        public String account { get; set; }

        [ProtoMember(30)]
        public String zhihang { get; set; }

        [ProtoMember(31)]
        public String idcard { get; set; }

        [ProtoMember(32)]
        public int rztype { get; set; }

        [ProtoMember(33)]
        public String cardUp { get; set; }

        [ProtoMember(34)]
        public String cardDown { get; set; }

        [ProtoMember(35)]
        public String cardHand { get; set; }

        [ProtoMember(36)]
        public String blicense { get; set; }

        [ProtoMember(37)]
        public decimal xing { get; set; }

        [ProtoMember(37)]
        public ShopCategoryDto ShopCategoryItem { get; set; }

    }
}
